package printNumbers;

public class Solution {
    public int[] printNumbers(int n) {
        int max =(int) Math.pow(10,n);
        int[] arr=new int[max-1];
        for (int i = 1; i < max; i++) {
            arr[i-1]=i;
        }
        return arr;
    }
}
